meson: make sure gsk/gdk generated headers exist for libgtk_dep users
authorTim-Philipp Müller <tim@centricular.com>
Wed, 22 Mar 2017 00:45:39 +0000 (00:45 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 14:10:54 +0000 (15:10 +0100)
commitf67a9d58dbaff870e872a5144645253fe4b524b0
tree95204ace3f56dd29dd4b0516ed329909519e8887
parent48e2b773696736449011abb73d4d3065fedfb907
meson: make sure gsk/gdk generated headers exist for libgtk_dep users

Add back dependencies on libgdk_dep and libsk_dep which are declared
dependencies. We removed this before because these declarations had
link_with: lines that dragged in the static libgdk.a and libgsk.a libs
which are linked into libgtk-4.so anyway and thus shouldn't be used
when linking internal exes/tools against libgtk-4. Remove the static
libs from the declared dependencies and have libgtk link those in
explicitly, so that the declared deps now just provide all the built
dependencies and include dirs and such for declared libgtk_dep users
such as the internal exes/tools, which want all the generated gsk/gdk/gtk
headers to exist before attempting to compile anything against the
gtk+ headers.
gdk/meson.build
gsk/meson.build
gtk/meson.build
testsuite/gdk/meson.build